/**
* 版权声明：厦门睿商网络科技有限公司 版权所有 违者必究
* 日    期：2020-04-29
*/
package com.rzico.order.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.rzico.annotation.IgnoreSwaggerParameter;
import com.rzico.basics.entity.Product;
import com.rzico.basics.entity.Promotion;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * <pre>
 *   购物车数据库对象
 * </pre>
 * @author Rzico Boot
 * @version 1.0
 */
@Data
@JsonIgnoreProperties(value = {"handler"})
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CartItemVo {

    @Id
    @ApiModelProperty(value = "" )
    protected Long id;

    @ApiModelProperty(value = "数量" )
    protected Integer quantity;

    @ApiModelProperty(value = "产品" )
    protected Long productId;

    @ApiModelProperty(value = "商品" )
    protected Long goodsId;

    @ApiModelProperty(value = "品牌" )
    protected Long brandId;

    @ApiModelProperty(value = "分类" )
    protected Long productCategoryId;

    @ApiModelProperty(value = "名称")
    protected String name;

    @ApiModelProperty(value = "规格1")
    protected String spec1;

    @ApiModelProperty(value = "规格2")
    protected String spec2;

    @ApiModelProperty(value = "缩略图")
    protected String thumbnail;

    @ApiModelProperty(value = "促销活动")
    protected String promotion;

    @ApiModelProperty(value = "价格" )
    protected java.math.BigDecimal price;

    @ApiModelProperty(value = "选中" )
    protected Boolean chk;

    @ApiModelProperty(value = "当前库存")
    protected Integer stock;

    @ApiModelProperty(value = "当前库存")
    protected Integer minLimit;

    @ApiModelProperty(value = "所需积分")
    protected Integer point;

    @ApiModelProperty(value = "当前库存")
    protected Integer maxLimit;

    @ApiModelProperty(value = "是否上架")
    protected Boolean isMarketable;

    @ApiModelProperty(value = "商户号")
    protected String enterpriseId;

    @ApiModelProperty(value = "商户名称")
    protected String enterpriseName;

    @ApiModelProperty(value = "商户Logo")
    protected String enterpriseLogo;

}
